<?php
mySkyn::assetCSS('/admin/carnes/css/tipos.css');
?>

<h1 class="regiones_head">REGIONES</h1>
<table>
<tr>
	<th>region nombre</th><th>Provincia</th><th>Opciones</th>
</tr>
<?php
foreach($LISTA as $val):extract($val,EXTR_REFS);
$edit = BASE_URL_FULL . '/admin/regionales.php/formulario:regiones/'.$id_region;
$delete = BASE_URL_FULL . '/admin/regionales.php/abms:delete_regiones/'.$id_region;
?>
<tr>
	<td><?=$region_name?></td><td><?=$prov?></td>
	<td>
		<a href="<?=$edit?>" title="editar" rel="ajax: <?=$edit?>" class="openmodalbox">[Editar]</a>
		| 
		<a href="<?=$delete?>" title="Borrar" rel="ajax: <?=$delete?>" class="openmodalbox delete">[Borrar]</a>
	</td>
</tr>
<?php
endforeach;
?>
<tr>
	<td colspan="4">
	<div class="box">
		<strong>AGREGAR</strong>
		<a class="openmodalbox button" >&nbsp;
<input type="hidden" name="ajaxhref" 
value="<?=BASE_URL_FULL . '/admin/regionales.php/formulario:regiones/'?>" />
		</a>
		<span class="opciones"></span>
	</div>
	</td>
</tr>
</table>

<style type="text/css">
	h1.regiones_head{
		padding: 0;
		margin: 0;
		background-color: #222;
		color: #FFFFFF
	}
</style>